.model-frame {
    display: none;
    position: fixed;
    overflow: hidden;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 9999999;
}

.model-window {
    position: fixed;
    margin: auto;
    padding: 10px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 500px;
    min-width: 400px;
    max-width: 800px;
    min-height: 300px;
    max-height: 500px;
    background: #fff;
    border-radius: 10px;
}

.model-header {
    height: 30px;
    font-size: 20px;
    font-weight: 500;
    margin: auto;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.model-footer {
    height: 45px;
    position: absolute;
    padding-top: 5px;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #eee;
    line-height: 30px;
    text-align: center;
}

.model-btn {
    display: inline-block;
    min-width: 100px;
    padding: 2px 1em;
    background-color: #0f88eb;
    border: 1px solid #0f88eb;
    border-radius: 3px;
    font: inherit;
    color: #fff;
    cursor: pointer;
    outline: none;
    height: 40px;
}

.warning {
    background-color: #ef605b;
    border-color: #ef605b;
    color: #fff;
}